package oop.java0406;

public class Test3 {
    public static void main(String[] args) {

        Teacher teacher = new Teacher();
        teacher.setName("Tom");
        teacher.setSchool("合肥科海");
        teacher.setAge(20);
        teacher.teach();
        System.out.println(teacher.toString());


    }
}
